using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
	public class DCS_STEP
	{

		#region InnerClass
		public enum DCS_STEPFields
		{
			STEP_ID,
			STEP_NAME
		}
		#endregion

		#region Data Members

			int _sTEP_ID;
			string _sTEP_NAME;

		#endregion

		#region Properties

		public int  STEP_ID
		{
			 get { return _sTEP_ID; }
			 set
			 {
				 if (_sTEP_ID != value)
				 {
					_sTEP_ID = value;
					 PropertyHasChanged("STEP_ID");
				 }
			 }
		}

		public string  STEP_NAME
		{
			 get { return _sTEP_NAME; }
			 set
			 {
				 if (_sTEP_NAME != value)
				 {
					_sTEP_NAME = value;
					 PropertyHasChanged("STEP_NAME");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("STEP_ID", "STEP_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("STEP_NAME", "STEP_NAME",255));
		}

		#endregion
********/

	}
}
